package com.mtconnect.model;

import javax.ws.rs.QueryParam;
import java.util.Objects;

/**
 * Created by Administrator on 2017/9/14.
 */
public class CurrentDTO extends SampleDTO {
    @QueryParam("at")
    private String at;

    @Override
    public String toString() {
        String s = super.toString();
        return s + "CurrentDTO{" +
                "at='" + at + '\'' +
                '}';
    }

    public String getAt() {
        if (Objects.nonNull(at) && !"".equals(at.trim())) {
            return at;
        }
        return null;
    }

    public void setAt(String at) {
        this.at = at;
    }
}
